package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 经络表
 * @author dede
 *
 */
@SuppressWarnings("serial")
@TableName(value="meridian_table")
public class MeridianTable extends Model<MeridianTable>{

	/**
	 * 主键
	 */
	@TableId(value="mt_id")
	private long mtId;
	
	/**
	 * hmstr_id
	 */
	@TableField(value="hmstr_id")
	private long hmstrId;
		
	public MeridianTable() {
		super();
	}

	public MeridianTable(long mtId, long hmstrId) {
		super();
		this.mtId = mtId;
		this.hmstrId = hmstrId;
	}

	public long getMtId() {
		return mtId;
	}

	public void setMtId(long mtId) {
		this.mtId = mtId;
	}

	public long getHmstrId() {
		return hmstrId;
	}

	public void setHmstrId(long hmstrId) {
		this.hmstrId = hmstrId;
	}
	
	@Override
	public String toString() {
		return "MeridianTable [mtId=" + mtId + ", hmstrId=" + hmstrId + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return mtId;
	}

}
